*************************************
Lab 1 - Configuring the HQ Site
*************************************

=============================================
1. Configure IPv6 Addresses on the Routers
=============================================

------
R1
------

ipv6 unicast-routing
!
Interface E 0/1
 ipv6 address 2000:1234:ABCD:1FF::1/64
 no shut

------
R4
------

ipv6 unicast-routing
!
Interface E 0/0
 ipv6 address 2000:1234:ABCD:1FF::4/64
 no shut
!
Interface E 0/1
 ipv6 address 2000:1234:ABCD:100::4/64
 no shut

------
R5
------

ipv6 unicast-routing
!
Interface E 0/0
 ipv6 address 2000:1234:ABCD:100::5/64
 no shut
!
Interface loopback1
 ipv6 address 2000:1234:ABCD:101::5/64
!
Interface loopback2
 ipv6 address 2000:1234:ABCD:102::5/64
!
Interface loopback3
 ipv6 address 2000:1234:ABCD:103::5/64
!
Interface loopback4
 ipv6 address 2000:1234:ABCD:104::5/64
!
Interface loopback5
 ipv6 address 2000:1234:ABCD:105::5/64
!
Interface loopback6
 ipv6 address 2000:1234:ABCD:106::5/64
!
Interface loopback7
 ipv6 address 2000:1234:ABCD:107::5/64

=============================================
2. Configure OSPFv3 for the Site
=============================================

------
R1
------

ipv6 router ospf 1
 router-id 0.0.0.1
!
Interface E 0/1
 ipv6 ospf 1 area 0

------
R4
------

router ospfv3 1
 !
 address-family ipv6 unicast
  router-id 0.0.0.4
!
Interface E 0/0
 ipv6 ospf 1 area 0
!
Interface E 0/1
 ipv6 ospf 1 area 0

------
R5
------

ipv6 router ospf 1
 router-id 0.0.0.5
!
Interface E 0/0
 ipv6 ospf 1 area 0
!
Interface Loopback 1
 ipv6 ospf 1 area 0
 ipv6 ospf network point-to-point
!
Interface Loopback 2
 ipv6 ospf 1 area 0
 ipv6 ospf network point-to-point
!
Interface Loopback 3
 ipv6 ospf 1 area 0
 ipv6 ospf network point-to-point
!
Interface Loopback 4
 ipv6 ospf 1 area 0
 ipv6 ospf network point-to-point
!
Interface Loopback 5
 ipv6 ospf 1 area 0
 ipv6 ospf network point-to-point
!
Interface Loopback 6
 ipv6 ospf 1 area 0
 ipv6 ospf network point-to-point
!
Interface Loopback 7
 ipv6 ospf 1 area 0
 ipv6 ospf network point-to-point

=============================================
3. Configure Manual Link Local Addresses
=============================================

------
R1
------

Interface E 0/1
 ipv6 address FE80::1 link-local

------
R4
------

Interface E 0/0
 ipv6 address FE80::4 link-local
!
Interface E 0/1
 ipv6 address FE80::4 link-local

------
R5
------

Interface E 0/0
 ipv6 address FE80::5 link-local

*************************************
Lab 2 - Configuring Remote-Site # 1
*************************************

=============================================
1. Configure IPv6 Addresses on the Routers
=============================================

------
R2
------

ipv6 unicast-routing
!
Interface E 0/1
 ipv6 address 2000:1234:ABCD:2FF::2/64
 no shut

------
R7
------

ipv6 unicast-routing
!
Interface E 0/0
 ipv6 address 2000:1234:ABCD:2FF::7/64
 no shut
!
Interface loopback0
 ipv6 address 2000:1234:ABCD:200::7/64
!
Interface loopback1
 ipv6 address 2000:1234:ABCD:201::7/64
!
Interface loopback2
 ipv6 address 2000:1234:ABCD:202::7/64
!
Interface loopback3
 ipv6 address 2000:1234:ABCD:203::7/64

=============================================
2. Configure EIGRP for the Site
=============================================

------
R2
------

ipv6 router eigrp 100
 eigrp router-id 0.0.0.2
!
Interface E 0/1
 ipv6 eigrp 100

------
R7
------

ipv6 router eigrp 100
 eigrp router-id 0.0.0.7
!
Interface E 0/0
 ipv6 eigrp 100
!
Interface Loopback 0
 ipv6 eigrp 100
!
Interface Loopback 1
 ipv6 eigrp 100
!
Interface Loopback 2
 ipv6 eigrp 100
!
Interface Loopback 3
 ipv6 eigrp 100

=============================================
3. Configure Manual Link Local Addresses
=============================================

------
R2
------

Interface E 0/1
 ipv6 address FE80::2 link-local

------
R7
------

Interface E 0/0
 ipv6 address FE80::7 link-local

*************************************
Lab 3 - Configuring Remote-Site # 2
*************************************

=============================================
1. Configure IPv6 Addresses on the Routers
=============================================

------
R3
------

ipv6 unicast-routing
!
Interface E 0/1
 ipv6 address 2000:1234:ABCD:3FF::3/64
 no shut

------
R8
------

ipv6 unicast-routing
!
Interface E 0/0
 ipv6 address 2000:1234:ABCD:3FF::8/64
 no shut
!
Interface loopback0
 ipv6 address 2000:1234:ABCD:300::8/64
!
Interface loopback1
 ipv6 address 2000:1234:ABCD:301::8/64
!
Interface loopback2
 ipv6 address 2000:1234:ABCD:302::8/64
!
Interface loopback3
 ipv6 address 2000:1234:ABCD:303::8/64

=============================================
2. Configure IS-IS for the Site
=============================================

------
R3
------

router isis
 net 49.0000.0000.0000.0003.00
 is-type level-2
 metric-style wide
!
Interface E 0/1
 ipv6 router isis

------
R8
------

router isis
 net 49.0000.0000.0000.0008.00
 is-type level-2
 metric-style wide
!
Interface E 0/0
 ipv6 router isis
!
Interface Loopback 0
 ipv6 router isis
!
Interface Loopback 1
 ipv6 router isis
!
Interface Loopback 2
 ipv6 router isis
!
Interface Loopback 3
 ipv6 router isis

=============================================
3. Configure Manual Link Local Addresses
=============================================

------
R3
------

Interface E 0/1
 ipv6 address FE80::3 link-local

------
R8
------

Interface E 0/0
 ipv6 address FE80::8 link-local

*************************************
Lab 4 - Configuring BGP with the ISP
*************************************

=============================================
1. Configure IPv6 Addresses on the Routers
=============================================

------
R1
------

Interface E 0/0
 ipv6 address 2000:1234:1111::1/64
 no shut

------
R2
------

Interface E 0/0
 ipv6 address 2000:1234:2222::2/64
 no shut

------
R9
------

ipv6 unicast-routing
!
Interface E 0/0
 ipv6 address 2000:1234:1111::9/64
 no shut
!
Interface E 0/1
 ipv6 address 2000:1234:2222::9/64
 no shut

=============================================
2. Configure BGP on HQ & Remote-Site#1 
=============================================

------
R1
------

router bgp 111
 neighbor 2000:1234:1111::9 remote-as 1000
 address-family ipv6
  neighbor 2000:1234:1111::9 activate
  neighbor 2000:1234:1111::9 password Cisco@123
  redistribute ospf 1
!
ipv6 router ospf 1
 redistribute bgp 111

------
R9
------

router bgp 1000
 neighbor 2000:1234:1111::1 remote-as 111
 address-family ipv6
  neighbor 2000:1234:1111::1 activate
  neighbor 2000:1234:1111::1 password Cisco@123

=============================================
3. Configure BGP on HQ & Remote-Site#2
=============================================

------
R2
------

router bgp 222
 neighbor 2000:1234:2222::9 remote-as 1000
 address-family ipv6
  neighbor 2000:1234:2222::9 activate
  neighbor 2000:1234:2222::9 password Cisco@123
  redistribute eigrp 100
!
ipv6 router eigrp 100
 redistribute bgp 222 metric 10 10 10 10 10

------
R9
------

router bgp 1000
 neighbor 2000:1234:2222::2 remote-as 222
 address-family ipv6
  neighbor 2000:1234:2222::2 activate
  neighbor 2000:1234:2222::2 password Cisco@123

*************************************
Lab 5 - Configuring IPv6IP Tunneling
*************************************

================================================================
1. Configure a Tunnel Interface to connect HQ to Remote-Site#2
================================================================

------
R1
------

Interface Tunnel 1
 tunnel source 200.1.1.1
 tunnel destination 199.1.1.3
 tunnel mode ipv6ip
 ipv6 address 2000:1234:ABCD:0111::1/64

------
R3
------

Interface Tunnel 1
 tunnel source 199.1.1.3
 tunnel destination 200.1.1.1
 tunnel mode ipv6ip
 ipv6 address 2000:1234:ABCD:0111::3/64

================================================================
2. Configure Routing on the Tunnel
================================================================

------
R1
------

Interface Tunnel1
 ipv6 ospf 1 area 0

------
R3
------

ipv6 router ospf 1
 router-id 0.0.0.3
!
Interface Tunnel1
 ipv6 ospf 1 area 0
 
================================================================
3. Configure Route Redistribution on Remote-Site#2
================================================================

------
R1
------

router bgp 111
 address-family ipv6
  redistribute ospf 1 match internal external

------
R3
------

ipv6 router ospf 1
 redistribute isis

*************************************
Lab 6 - Configuring NAT64
*************************************

================================================================
1. Enable NAT64 on the Interfaces
================================================================

------
R4
------

Interface E0/0
 nat64 enable
!
Interface E0/1
 nat64 enable
!
Interface E0/2
 nat64 enable

=====================================================================
2. Configure the Stateful IPv6 Prefix to be used by IPv4 Addresses
=====================================================================

------
R4
------

nat64 prefix stateful 2000:1234:ABCD:400::/64

=====================================================================
3. Inject this route into OSPF
=====================================================================

------
R4
------

ipv6 route 2000:1234:ABCD:400::/64 null0
router ospf 1
 address-family ipv6
  redistribute static

===============================================================================
4. Configure Static nat64 to provide the IPv6 Identity to the internal servers
===============================================================================

------
R4
------

nat64 v4v6 static 6.1.1.1 2000:1234:ABCD:0400::1
nat64 v4v6 static 6.1.1.2 2000:1234:ABCD:0400::2
nat64 v4v6 static 6.1.1.3 2000:1234:ABCD:0400::3

======================================================================================
5. Configure Dynamic NAT64 for Clients from the IPv6 coming towards the IPv4 Network
======================================================================================

------
R4
------

ipv6 access-list IPV6LIST
 permit ip 2000:1234:ABCD::/48 any
!
nat64 v4 pool V4POOL 10.10.10.1 10.10.10.2
!
nat64 v6v4 list IPV6LIST pool V4POOL overload

